package com.zreal.generator.config;

import java.util.List;

/**
 * 配置项
 * <p>
 * Created 2018/2/6.
 *
 * @author PJ
 */
public class CodeProperties {

    /**
     * 模板目录
     */
    private String templateDir;

    /**
     * 生成包名
     */
    private String packageName;

    /**
     * 忽略表前缀
     */
    private String ignoreTablePrefix;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 文件的输出路径
     */
    private String targetPath;

    /**
     * 模板文件
     */
    private List<String> templateFiles;

    /**
     * 引入模板
     */
    private List<String> includeTemplate;

    /**
     * 排除模板
     */
    private List<String> excludeTemplate;


    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getIgnoreTablePrefix() {
        return ignoreTablePrefix;
    }

    public void setIgnoreTablePrefix(String ignoreTablePrefix) {
        this.ignoreTablePrefix = ignoreTablePrefix;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTargetPath() {
        return targetPath;
    }

    public void setTargetPath(String targetPath) {
        this.targetPath = targetPath;
    }

    public List<String> getTemplateFiles() {
        return templateFiles;
    }

    public void setTemplateFiles(List<String> templateFiles) {
        this.templateFiles = templateFiles;
    }

    public String getTemplateDir() {
        return templateDir;
    }

    public void setTemplateDir(String templateDir) {
        this.templateDir = templateDir;
    }

    public List<String> getIncludeTemplate() {
        return includeTemplate;
    }

    public void setIncludeTemplate(List<String> includeTemplate) {
        this.includeTemplate = includeTemplate;
    }

    public List<String> getExcludeTemplate() {
        return excludeTemplate;
    }

    public void setExcludeTemplate(List<String> excludeTemplate) {
        this.excludeTemplate = excludeTemplate;
    }

    @Override
    public String toString() {
        return "CodeProperties{" +
                "templateDir='" + templateDir + '\'' +
                ", packageName='" + packageName + '\'' +
                ", ignoreTablePrefix='" + ignoreTablePrefix + '\'' +
                ", tableName='" + tableName + '\'' +
                ", targetPath='" + targetPath + '\'' +
                ", templateFiles=" + templateFiles +
                ", includeTemplate=" + includeTemplate +
                ", excludeTemplate=" + excludeTemplate +
                '}';
    }
}
